//
//  studyCollectionCell.m
//  doubleEduStudents
//
//  Created by 盛洋 on 2021/1/16.
//  Copyright © 2021 shengYang. All rights reserved.
//

#import "studyCollectionCell.h"

@implementation studyCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.title_lab.font = AutoLabFont1;
}

-(void)setModel:(StudyListModel *)model{
    _model = model;
    [self.title_img setCornerToCircleWidth:5 color:[UIColor colorWithHexString:@"6D5477"]];
    [self.title_img sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",model.categoryIcon]] placeholderImage:DefaultIcon];
    _title_lab.text = [NSString stringWithFormat:@"%@",model.categoryName];
}

@end
